package com.zpark.beans;

import java.util.*;

/**
 * @PackageName: com.zpark.beans
 * @ClassName: MyObj
 * @Description:
 * @author: RZS
 * @date: 2023/3/27  15:58
 */
public class MyObj {
    private String[] strs;
    private List<Object> lists;
    private Set<String> sets;
    private Map<String, Object> maps;
    private Properties pros;

    public String[] getStrs() {
        return strs;
    }

    public void setStrs(String[] strs) {
        this.strs = strs;
    }

    public List<Object> getLists() {
        return lists;
    }

    public void setLists(List<Object> lists) {
        this.lists = lists;
    }

    public Set<String> getSets() {
        return sets;
    }

    public void setSets(Set<String> sets) {
        this.sets = sets;
    }

    public Map<String, Object> getMaps() {
        return maps;
    }

    public void setMaps(Map<String, Object> maps) {
        this.maps = maps;
    }

    public Properties getPros() {
        return pros;
    }

    public void setPros(Properties pros) {
        this.pros = pros;
    }

    @Override
    public String toString() {

        System.out.println(Arrays.toString(strs));
        System.out.println(lists);
        System.out.println(sets);
        System.out.println(maps);
        System.out.println(pros);
        return "MyObj{" +
                "strs=" + Arrays.toString(strs) +
                ", lists=" + lists +
                ", sets=" + sets +
                ", maps=" + maps +
                ", pros=" + pros +
                '}';
    }
}
